package com.example.seckill.domain.repository;

import com.example.seckill.domain.model.Product;

import java.util.Optional;

/**
 * @author Martin
 */
public interface ProductRepository {

    Optional<Product> findById(Long productId);

    void save(Product product);
}
